Release 10.1A: OpenEdge Getting Started:
New and Revised Features


NO-FOCUS and FLAT-BUTTON buttons

A NO-FOCUS button does not take focus when the user clicks on it. Focus remains on whatever widget currently has it. You cannot tab to a NO-FOCUS button. NO-FOCUS buttons usually have images, although some developers use labels on NO-FOCUS buttons.

In Release 10.0B, the NO-FOCUS button looks exactly like the classic-style buttons, except that a NO-FOCUS button lacks the focus rectangles. In Release 10.1A, the NO-FOCUS button looks like an XP-style button when running with a manifest file. The new ButtonImageBorderMode setting applies to NO-FOCUS buttons that contain images.

A FLAT-BUTTON button is a special form of the NO-FOCUS button. A FLAT-BUTTON button has no border until the mouse hovers over it, at which time it gains a simple rectangular border. When the mouse is no longer hovering over the button, the border disappears. This button style is also commonly used to create toolbars in the 4GL. In Release 10.1A, the FLAT-BUTTON button looks like an XP-style button when running with a manifest file. The new ButtonImageBorderMode setting does not apply to FLAT-BUTTON buttons.

This change to NO-FOCUS and FLAT-BUTTON buttons does not affect your existing 4GL code.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095